package com.manager.config.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.manager.model.model.CustomerType;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


/**
* @author pooh
* @description 针对表【type】的数据库操作Mapper
* @createDate 2023-03-19 12:45:43
* @Entity com.service.serviceconfig.Type
*/
@Mapper
public interface ConfigTypeMapper extends BaseMapper<CustomerType> {

    @Select("select *  from type where name = #{name}")
    CustomerType searchByName(String name);
}




